<!--功能模块-->

<script>
function open_thumbnail(){ 

parent.asyncbox.html({
	 id: "thumbnail_l",
	 title: "{lang='选择缩略图'}",
	 scroll:false,
　　　content: document.getElementById("thumbnail").innerHTML
　});
	
};

</script>

<div id="thumbnail" class="function">
  <div class="function_body">
    <div>
      <div class="thumbnail_list" id="thumbnail_list">
        <ul id="thumbnail_list_xh">
          
        </ul>
      </div>
    </div>
    <div style="clear:both; height:10px;"></div>
  </div>
</div>

<!--模块结束--> 

<!--功能模块--> 

<script>
function open_flv(){ 
$("#flv_src").val(""); 
$("#flv_width").val(""); 
$("#flv_hight").val(""); 
parent.asyncbox.html({
	 id: "in_flv_l",
	 title: "{lang='插入FLV播放器'}",
	 scroll:false,
　　　content: document.getElementById("in_flv").innerHTML
　});

} 


function in_flv(){ 
    flvsrc=$("#flv_src",parent.document).attr("value");
	flvwidth=$("#flv_width",parent.document).attr("value");
	flvhight=$("#flv_hight",parent.document).attr("value");
	html = '<div class="ad_flv">';
	html += '<script type="text/\javascript">';
    html += 'var flashvars = {';
    html += 'src : "'+ flvsrc + '",';
    html += 'name : "DLCMS",';
    html += 'link : "http://www.dlcms.net/",';
    html += 'skin : "__PUBLICURL__/public/cmp/vplayer.zip"';
    html += '};';
    html += 'CMP.write("cmp", "'+ flvwidth + '", "'+ flvhight + '", "__PUBLICURL__/public/cmp/cmp.swf", flashvars);';
    html += '</\script>';
    html += '</\div>';
    KE.insertHtml(html);
    parent.asyncbox.close('in_flv_l');
} 
</script>
<div id="in_flv" class="function">
  <div class="function_body">
    <div>{lang='视频地址'}：<br />
      <input type='text' id="flv_src" name="flv_src" style="width:295px;" />
    </div>
    <div>{lang='宽度'}：
      <input type='text' id="flv_width" name="flv_width" style="width:50px;" />
      &nbsp;&nbsp;&nbsp;{lang='高度'}：
      <input type='text' name="flv_hight" style="width:50px;" id="flv_hight" />
    </div>
    <div class="function_sub"><a href="javascript:void 0" onclick="window.frames['frame_content'].in_flv()">{lang='提交'}</a><a href="javascript:void 0" onclick="parent.asyncbox.close('in_flv_l');" >{lang='关闭'}</a></div>
  </div>
</div>

<!--模块结束--> 

<!--功能模块--> 

<script>
function open_html(){ 
$("#html_code").val(""); 
parent.asyncbox.html({
	 id: "in_html_l",
	 title: "{lang='插入HTML代码'}",
	 scroll:false,
　　　content: document.getElementById("in_html").innerHTML
　});

} 
function in_html(){ 
    html=$("#html_code",parent.document).attr("value");
    KE.insertHtml(html);
    parent.asyncbox.close('in_html_l');
} 
</script>
<div id="in_html" class="function">
  <div class="function_body">
    <div>
      <textarea name="html_code" id="html_code" cols="0" rows="5" class="regular-textarea" style="width:295px; height:150px"></textarea>
    </div>
    <div class="function_sub"><a href="javascript:void 0" onclick="window.frames['frame_content'].in_html()">{lang='提交'}</a><a href="javascript:void 0" onclick="parent.asyncbox.close('in_html_l');" >{lang='关闭'}</a></div>
  </div>
</div>

<!--模块结束--> 

<a class="charu" href="javascript:void 0" onclick="open_flv()" >{lang='插入FLV视频'}</a> <a class="charu" href="javascript:void 0" onclick="open_html()" >{lang='插入HTML代码'}</a> 